package comment_service

import (
	"hytx_media/models"
	"hytx_media/pkg/util"
)

func GetComments(id int,userId int, page int, limit int) (map[string]interface{}, *util.Paginate) {
	comments, paginate, _ := models.GetCommentsByUser(page, limit, id, userId)
	return comments, paginate
}

func GetCommentNumList(userId int, page int, limit int) ([]*models.CommentsNumResult, *util.Paginate) {
	result, paginate ,_ := models.GetCommentNumList(page, limit, userId)
	return result, paginate
}


